const routes = [
    {
        path: '/',
        // redirect: { name: 'homePage' }
        name: 'homePage',
        component: () => import('../views/homePage.vue')
    },
    {
        path: '/homePage',
        name: 'homePage',
        component: () => import('../views/homePage.vue')
    },
    {
        path: '/course/courseList',
        name: 'courseList',
        component: () => import('../views/courseList.vue')
    },
    {
        path: '/course/courseProgress',
        name: 'courseList',
        component: () => import('../views/courseProgress.vue')
    },
    {
        path: '/knowledge/recommendArticle',
        name: 'recommendArticle',
        component: () => import('../views/recommendArticle.vue')
    },
    {
        path: '/manage/healthyArchive',
        name: 'healthyArchive',
        component: () => import('../views/healthyArchive.vue')
    },
    {
        path: '/user',
        name: 'user',
        component: () => import('../views/user.vue')
    }
]

export default routes